import java.util.Scanner;//1037: 【入门】恐龙园买门票

public class Main1037 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        double a= sc.nextDouble();
        if (a<1.3){
            System.out.println(60);
        }else {
            System.out.println(120);
        }
    }
}
